import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class HelloWord {

    /**
     * log4j 遵循slf4j规范
     */
    static final Logger logger = LoggerFactory.getLogger(HelloWord.class);

    public static void main(String[] args) {
        logger.info("log4j-demo. hello world");
    }
}
